package com.hspedu.hspliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hspedu.common.utils.PageUtils;
import com.hspedu.hspliving.commodity.entity.SkuInfoEntity;
import com.hspedu.hspliving.commodity.vo.SearchResult;

import java.util.Map;

/**
 * sku 信息
 *
 * @author bing
 * @email bing@gmail.com
 * @date 2024-08-07 20:22:42
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    /**
     * 条件检索+分页查询
     * @param params
     * @return
     */
    PageUtils queryPageByCondition(Map<String, Object> params);

    //返回购买用户检索结果-用户前端
    SearchResult querySearchPageByCondition(Map<String, Object> params);
}

